package com.cykj.mapper;

import com.cykj.pojo.Scenic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScenicMapper {
    //删除用户信息
    int delete(int id);
    //修改订单信息
    int alter(@Param("id") int id,
              @Param("name") String name,
              @Param("price") String price,
              @Param("address") String address,
              @Param("info") String info);
    int countTicketForScenic(String name);
    int addScenic(@Param("name") String name,
                  @Param("price") String price,
                  @Param("address") String address,
                  @Param("info") String info);
    List<Scenic> searchInfo(String value);
}
